<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title>人员管理</title>
  <meta name="人员管理" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <link rel="stylesheet" href="../../css/font.css">
  <link rel="stylesheet" href="../../css/xadmin.css">
  <script src="../../lib/layui/layui.js" charset="utf-8"></script>
  <script type="text/javascript" src="../../js/xadmin.js"></script>

  <!-- 引入公用JavaScript -->
  <script src="../../js/jquery.min.js"></script>
  <script src="../../js/app.js"></script>
</head>

<body>

  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">

          <!-- 管理员管理该地区的用户 -->
          <div class="layui-card-body ">
            <form class="layui-form layui-col-space5 layui-col-md9">
              <div class="layui-inline layui-show-xs-block">
                <input id="workId" type="text" name="workId" placeholder="输入工号查询" autocomplete="off"
                  class="layui-input">
              </div>
              <div class="layui-inline layui-show-xs-block">
                <input id="username" type="text" name="username" placeholder="输入姓名查询" autocomplete="off"
                  class="layui-input">
              </div>
              <div class="layui-inline layui-show-xs-block">
                <button id="search" class="layui-btn" lay-submit="" lay-filter="sreach"><i
                    class="layui-icon">&#xe615;</i>查询此人</button>
              </div>
            </form>
            <div class="layui-col-md1 layui-col-md-offset2 ">
              <button class="layui-btn" onclick="xadmin.open('添加用户','user-add.html',600,400)"><i
                  class="layui-icon"></i>添加用户
              </button>
            </div>
          </div>
          <div class="layui-card-body layui-table-body layui-table-main">
            <table class="layui-table layui-form " id="user-table">
              <thead>
                <tr>
                  <th>工号</th>
                  <th>用户名</th>
                  <th>性别</th>
                  <th>年龄</th>
                  <th>身份证号码</th>
                  <th>用户角色</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody id="tbody">
                <!-- 用户信息 -->
              </tbody>
            </table>
          </div>
        
        </div>
      </div>
    </div>
  </div>
</body>

<script src="./user-data.js"></script>
<script>
  layui.use(['laydate', 'form'], function () {
    var laydate = layui.laydate;
    var form = layui.form;
    layui.use('table', function(){
    var table = layui.table;
    //执行一个laydate实例
    laydate.render({
      elem: '#start' //指定元素
    });

    //执行一个laydate实例
    laydate.render({
      elem: '#end' //指定元素
    });

  });

  })

      
</script>


</html>